import Vue from "vue"
import { Stepper,Form, Field,CellGroup, Checkbox, CheckboxGroup ,Grid, GridItem, Toast, CountDown, cell, Popup, Image, Dialog, Col, Row, Icon, Sticky, DropdownMenu, DropdownItem, Button, Tabbar, TabbarItem, NavBar, Tab, Tabs, Sidebar, Swipe, SwipeItem, Image as VanImage, Lazyload } from 'vant'


// 按需加载vant

// vant底部弹出
Vue.use(Popup);
// 倒计时
Vue.use(CountDown);
// 请提示
Vue.use(Toast);
// 布进器
Vue.use(Stepper);
Vue.use(cell);
Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar);
Vue.use(Icon);
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Sidebar);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(VanImage);
Vue.use(Dialog)
Vue.use(Image);
Vue.use(Form);
Vue.use(Field);
Vue.use(CellGroup)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Lazyload, {
    loading: 'https://img01.yzcdn.cn/vant/cat.jpeg'
});



Vue.use(Col).use(Row).use(Sticky).use(DropdownMenu).use(DropdownItem)


